//
//  ClockView.h
//  ClockView
//
//  Created by Mr.Q on 16/5/10.
//  Copyright © 2016年 QLS. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ClockView : UIView{
    // 钟表
    CALayer *clock;
    // 秒针
    CALayer *secHand;
    // 分针
    CALayer *minHand;
    // 时针
    CALayer *hourHand;
    // 定时器
    CADisplayLink *link;
}

// 启用关闭方法
- (void)start;
- (void)stop;


// 自定义表盘
- (void)setSecHandImage:(CGImageRef)image;

- (void)setMinHandImage:(CGImageRef)image;

- (void)setHourHandImage:(CGImageRef)image;

- (void)setClockBackgroundImage:(CGImageRef)image;


// 秒针转动样式(扫秒/跳秒)
@property (nonatomic,assign)BOOL secRoll;

@end
